package com.xzlf.netty;

import java.util.UUID;

public abstract class Msg {
    public UUID id;
    public MsgType msgType;
    public abstract void handle();
    public abstract byte[] toBytes();
    public abstract void parseBytes(byte[] bytes);
    public abstract MsgType getMsgType();
}
